package com.hxzy.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
@TableName(value="tb_category")
public class Category implements Serializable{

	  @TableId(type = IdType.AUTO)
	private Integer id;//分类ID


	private String name;//分类名称

    @TableField(value = "goods_num")
	private Integer goodsNum;//商品数量

    @TableField(value = "is_show")
	private String isShow;//是否显示

    @TableField(value = "is_menu")
	private String isMenu;//是否导航

	private Integer seq;//排序

    @TableField(value = "parent_id")
	private Integer parentId;//上级ID

    @TableField(value = "template_id")
	private Integer templateId;//模板ID


}
